<?php if ($this->pageCount): ?>
<div class="paginationControl2">
<!-- First page link -->

<!-- Previous page link -->
<?php if (isset($this->previous)): ?>
  		<a href="<?php echo $this->url(array('module'=> "default",'controller' => "index",'action'=> "index",'page' => $this->previous,"layout"=>$this->layout)); ?>" onclick="changePageNumFieldInForm('<?php echo $this->previous; ?>'); return false;">
    		&lt;
  		</a>
<?php else: ?>
	<?php if (isset($this->previous) && $this->previous < $this->current): ?>
  		<span class="disabled">&lt;</span>
  	<?php endif; ?>
<?php endif; ?>
<?php foreach ($this->pagesInRange as $page): ?>
  	<?php if ($page != $this->current): ?>
    	<a href="<?php echo $this->url(array('module'=> "default",'controller' => "index",'action'=> "index",'page' => $page,"layout"=>$this->layout)); ?>" onclick="changePageNumFieldInForm('<?php echo $page; ?>'); return false;">
        	<?php echo $page; ?>
    	</a>
  	<?php else: ?>
    	<a class="current"><?php echo $page; ?></a>
  	<?php endif; ?>
<?php endforeach; ?>

<!-- Next page link -->
<?php if (isset($this->next)): ?>
  	<a href="<?php echo $this->url(array('module'=> "default",'controller' => "index",'action'=> "index",'page' => $this->next,"layout"=>$this->layout)); ?>" onclick="changePageNumFieldInForm('<?php echo $this->next; ?>'); return false;">
    	&gt;
  	</a>
<?php else: ?>
	<?php if (isset($this->next) && $this->next > $this->current): ?>
  		<span class="disabled">&gt;</span>
  	<?php endif; ?>
<?php endif; ?>
</div>
<?php endif; ?>
